#ifndef __IMU_QURT_H
#define __IMU_QURT_H

#include "stm32f4xx.h"
#include "bsp_mpu6050.h"

/* 欧拉角结构体类型 */
typedef struct __EulerAngle{
    float roll;
    float pitch;
    float yaw;
} EulerAngle_t;

void IMU_GetData(MPU6050_t *MPU6050);
uint8_t IMU_Update(MPU6050_t *MPU6050, EulerAngle_t *euler, float dt);

#endif
